Add new stylesheet 'sportsim' (support for textual trackfiles from zipped Sportsim...
authoroliskoli <oliskoli>
Sat, 22 Jul 2006 17:38:25 +0000 (17:38 +0000)
committeroliskoli <oliskoli>
Sat, 22 Jul 2006 17:38:25 +0000 (17:38 +0000)
Makefile.in
reference/track/sportsim-sample.txt [new file with mode: 0644]
testo
xmldoc/formats/sportsim.xml [new file with mode: 0644]

index 224945defffc8b76605361524f9fd8d2a0a91c63..a031c7f065fd862bd377c4d9e0dae3fdabfca676 100644 (file)
@@ -661,5 +661,5 @@ jeeps/gpsutil.o: jeeps/gpsutil.c jeeps/gps.h jeeps/../defs.h \
   jeeps/gpsproj.h
 shapelib/dbfopen.o: shapelib/dbfopen.c shapelib/shapefil.h
 shapelib/shpopen.o: shapelib/shpopen.c shapelib/shapefil.h
-internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style  style/s_and_t.style style/saplus.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style
+internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style  style/s_and_t.style style/saplus.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style style/sportsim.style
        ./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1)
diff --git a/reference/track/sportsim-sample.txt b/reference/track/sportsim-sample.txt
new file mode 100644 (file)
index 0000000..8ec28aa
--- /dev/null
@@ -0,0 +1,66 @@
+SportsimVersion:01\r
+#Sportsim TrackFile\r
+00000;0;30.062183;-91.610350;3;1022346381;\r
+00001;0;30.062783;-91.610567;-328083987;1022346595;\r
+00002;0;30.062700;-91.608267;-328083987;1022346720;\r
+00003;0;30.062333;-91.607383;-328083987;1022346768;\r
+00004;0;30.061533;-91.605283;-328083987;1022346881;\r
+00005;0;30.059783;-91.599400;-328083987;1022347036;\r
+00006;0;30.057800;-91.596683;-328083987;1022347066;\r
+00007;0;30.055383;-91.594900;-328083987;1022347100;\r
+00008;0;30.053883;-91.592617;-328083987;1022347141;\r
+00009;0;30.049733;-91.589750;-328083987;1022347246;\r
+00010;0;30.049017;-91.589883;-328083987;1022347270;\r
+00011;0;30.048800;-91.592933;-328083987;1022347311;\r
+00012;0;30.046233;-91.596450;-328083987;1022347355;\r
+00013;0;30.045517;-91.598717;-328083987;1022347388;\r
+00014;0;30.047300;-91.600267;-328083987;1022349863;\r
+00015;0;30.047000;-91.599633;7;1022349964;\r
+00016;0;30.046433;-91.599467;-328083987;1022350026;\r
+00017;0;30.046200;-91.598950;3;1022350098;\r
+00018;0;30.046367;-91.597733;-328083987;1022350220;\r
+00019;0;30.046350;-91.597167;-328083987;1022350269;\r
+00020;0;30.046783;-91.596333;-328083987;1022350338;\r
+00021;0;30.047450;-91.595200;-328083987;1022350462;\r
+00022;0;30.047800;-91.594767;7;1022350504;\r
+00023;0;30.048250;-91.594083;3;1022350574;\r
+00024;0;30.048683;-91.593800;3;1022350621;\r
+00025;0;30.049350;-91.593850;-328083987;1022350687;\r
+00026;0;30.050317;-91.593983;7;1022350791;\r
+00027;0;30.050783;-91.594117;-328083987;1022350839;\r
+00028;0;30.051233;-91.594367;-328083987;1022350884;\r
+00029;0;30.051800;-91.594367;-328083987;1022350937;\r
+00030;0;30.052217;-91.594667;-328083987;1022350998;\r
+00031;0;30.053017;-91.594683;-328083987;1022351077;\r
+00032;0;30.054867;-91.595200;20;1022351293;\r
+00033;0;30.053733;-91.594933;7;1022351496;\r
+00034;0;30.053183;-91.594783;-328083987;1022351576;\r
+00035;0;30.052633;-91.594833;-328083987;1022351642;\r
+00036;0;30.052450;-91.595433;-328083987;1022351763;\r
+00037;0;30.052483;-91.595967;-328083987;1022351808;\r
+00038;0;30.052650;-91.596783;3;1022351872;\r
+00039;0;30.053133;-91.597850;-328083987;1022351958;\r
+00040;0;30.053617;-91.597967;-328083987;1022352015;\r
+00041;0;30.053967;-91.597767;20;1022352085;\r
+00042;0;30.053617;-91.598083;-328083987;1022352157;\r
+00043;0;30.053200;-91.597917;-328083987;1022352241;\r
+00044;0;30.052817;-91.597517;-328083987;1022352353;\r
+00045;0;30.052567;-91.596933;-328083987;1022352414;\r
+00046;0;30.052333;-91.596433;-328083987;1022352462;\r
+00047;0;30.052250;-91.595683;-328083987;1022352521;\r
+00048;0;30.052217;-91.595017;-328083987;1022352592;\r
+00049;0;30.051883;-91.594700;-328083987;1022352649;\r
+00050;0;30.051050;-91.594400;-328083987;1022352734;\r
+00051;0;30.050567;-91.594233;-328083987;1022352776;\r
+00052;0;30.050183;-91.594100;-328083987;1022352818;\r
+00053;0;30.049100;-91.593717;-328083987;1022352911;\r
+00054;0;30.048450;-91.594250;-328083987;1022352992;\r
+00055;0;30.048083;-91.594750;-328083987;1022353044;\r
+00056;0;30.047500;-91.595450;23;1022353120;\r
+00057;0;30.047067;-91.596000;-328083987;1022353168;\r
+00058;0;30.046633;-91.596600;-328083987;1022353222;\r
+00059;0;30.046400;-91.597650;-328083987;1022353301;\r
+00060;0;30.046233;-91.598467;-328083987;1022353368;\r
+00061;0;30.046317;-91.598967;-328083987;1022353423;\r
+00062;0;30.046783;-91.599283;-328083987;1022353489;\r
+00063;0;30.047133;-91.599667;-328083987;1022353557;\r
diff --git a/testo b/testo
index 5caf0aaa830cef55baf03b9032400c7c6db830c7..bcf49edda6415ba82181607f62d7c48068ba5bf2 100755 (executable)
--- a/testo
+++ b/testo
@@ -1083,4 +1083,12 @@ ${PNAME} -i wbt-bin -f ${REFERENCE}/wbt-200.bin -o gpx -F ${TMPDIR}/wbt-200.gpx
 grep -v time <${TMPDIR}/wbt-200.gpx >${TMPDIR}/wbt-200.gpx2
 compare ${TMPDIR}/wbt-200.gpx2 ${REFERENCE}/wbt-200.gpx
 
+#
+# Sportsim style-sheet
+#
+rm -f ${TMPDIR}/sportsim*
+${PNAME} -i gpx -f ${REFERENCE}/expertgps.gpx -x nuketypes,waypoints,routes -o sportsim -F ${TMPDIR}/sportsim.txt
+compare ${TMPDIR}/sportsim.txt ${REFERENCE}/track/sportsim-sample.txt
+
+
 exit 0
diff --git a/xmldoc/formats/sportsim.xml b/xmldoc/formats/sportsim.xml
new file mode 100644 (file)
index 0000000..2be8025
--- /dev/null
@@ -0,0 +1,14 @@
+<para>
+       With this format we support Sportsim trackfiles located in zipped .ssz archives. 
+</para>
+<para>
+       Currently we cannot read zipped files directly with GPSBabel. So you have 
+       to extract the archive before you can use any file. The trackfiles have .txt extensions.
+</para>
+<para>
+<ulink url="http://www.sportsim.com/web/index.php?url=about">From the Sportsim homepage:</ulink>
+</para>
+<para>
+       Sportsim provide software applications and web-based graphically 
+       simulated performance information and image solutions to outdoor active people.
+</para>